package com.situ.blog.dao;


import com.situ.blog.pojo.entity.BlogType;
import com.situ.blog.pojo.query.BlogTypeQuery;
import com.situ.blog.pojo.vo.BlogTypeCountVO;

import java.util.List;

public interface IBlogTypeDao {
    List<BlogType> selectByPage(BlogTypeQuery blogTypeQuery);
    Integer selectTotalCount(BlogTypeQuery blogTypeQuery);

    int deleteById(int id);

    int add(BlogType blogType);

    List<BlogTypeCountVO> selectBlogTypeCount();

    List<BlogType> selectAll();
}
